package net.gcode.sdkscheduleparser.gui;

import javax.swing.JPanel;

public class StatusPanel extends JPanel {
	private final javax.swing.JLabel jLabel1;
	private final javax.swing.JLabel jLabel2;
	private final javax.swing.JLabel jLabel3;
	private final javax.swing.JLabel jLabel4;
	private final javax.swing.JLabel jLabelAnzModul;
	private final javax.swing.JLabel jLabelAnzVorlesung;
	private final javax.swing.JLabel jLabelSemester;
	private final javax.swing.JLabel jLabelStudiengang;

	public StatusPanel(String titel) {
		jLabel1 = new javax.swing.JLabel();
		jLabel2 = new javax.swing.JLabel();
		jLabel3 = new javax.swing.JLabel();
		jLabel4 = new javax.swing.JLabel();
		jLabelStudiengang = new javax.swing.JLabel();
		jLabelSemester = new javax.swing.JLabel();
		jLabelAnzModul = new javax.swing.JLabel();
		jLabelAnzVorlesung = new javax.swing.JLabel();

		jLabel1.setText("Studiengang:");

		jLabel2.setText("Semester:");

		jLabel3.setText("Anzahl Module:");

		jLabel4.setText("Anzahl der Vorlesungen:");

		jLabelStudiengang.setText("jLabel5");

		jLabelSemester.setText("jLabel5");

		jLabelAnzModul.setText("jLabel5");

		jLabelAnzVorlesung.setText("jLabel5");

		setBorder(javax.swing.BorderFactory.createTitledBorder(null, titel,
				javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
				javax.swing.border.TitledBorder.DEFAULT_POSITION,
				new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(0, 0, 0)));

		javax.swing.GroupLayout jPanelStatusLayout = new javax.swing.GroupLayout(this);
		setLayout(jPanelStatusLayout);

		jPanelStatusLayout.setHorizontalGroup(jPanelStatusLayout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addGroup(
				jPanelStatusLayout.createSequentialGroup().addContainerGap().addGroup(
						jPanelStatusLayout.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING).addComponent(jLabel1)
								.addComponent(jLabel2).addComponent(jLabel3).addComponent(jLabel4))
						.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
								javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addGroup(
								jPanelStatusLayout.createParallelGroup(
										javax.swing.GroupLayout.Alignment.LEADING).addComponent(
										jLabelAnzVorlesung).addComponent(jLabelAnzModul)
										.addComponent(jLabelSemester).addComponent(
												jLabelStudiengang,
												javax.swing.GroupLayout.PREFERRED_SIZE, 59,
												javax.swing.GroupLayout.PREFERRED_SIZE))
						.addContainerGap()));
		jPanelStatusLayout.setVerticalGroup(jPanelStatusLayout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addGroup(
				jPanelStatusLayout.createSequentialGroup().addGroup(
						jPanelStatusLayout.createParallelGroup(
								javax.swing.GroupLayout.Alignment.BASELINE).addComponent(jLabel1)
								.addComponent(jLabelStudiengang)).addPreferredGap(
						javax.swing.LayoutStyle.ComponentPlacement.RELATED).addGroup(
						jPanelStatusLayout.createParallelGroup(
								javax.swing.GroupLayout.Alignment.BASELINE).addComponent(jLabel2)
								.addComponent(jLabelSemester)).addPreferredGap(
						javax.swing.LayoutStyle.ComponentPlacement.RELATED).addGroup(
						jPanelStatusLayout.createParallelGroup(
								javax.swing.GroupLayout.Alignment.BASELINE).addComponent(jLabel3)
								.addComponent(jLabelAnzModul)).addPreferredGap(
						javax.swing.LayoutStyle.ComponentPlacement.RELATED,
						javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addGroup(
						jPanelStatusLayout.createParallelGroup(
								javax.swing.GroupLayout.Alignment.BASELINE).addComponent(jLabel4)
								.addComponent(jLabelAnzVorlesung))));

	}

}
